package com.logic.landseaserver.persistence.read;

import java.util.List;

import com.logic.landseaserver.domain.DdingModPwdLog;

public interface DdingModPwdLogReadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DdingModPwdLog record);

    int insertSelective(DdingModPwdLog record);

    DdingModPwdLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DdingModPwdLog record);

    int updateByPrimaryKey(DdingModPwdLog record);
    
    /**
     * 
     * [简要描述]：根据房间查询门锁密码修改日志</br>
     * [详细描述]：</br>
     * [作者]：Aaron(2017-07-05)</br>
     *
     * @param roomId 房间id
     * @return
     *
     */
    List<DdingModPwdLog> selectByRoomId(Integer roomId);
}